/*************************************************************************
 *                                                                       *
 * This file is part of the FreeMAPs distribution.  For full copyright   *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 * Date:             2013.11.19                                          *
 *                                                                       *
 *************************************************************************/

namespace FreeMAPs
{

inline const std::string&
NodeGroup::get_group_name() const
{
    return d_group_name;
}


inline const std::set<int>&
NodeGroup::get_nodes()const
{
    return d_nodes;
}


inline void
NodeGroup::insert_node (const int node)
{
    d_nodes.insert (node);
}


inline bool
NodeGroup::is_empty()const
{
    return d_nodes.empty();
}

}
